u.n. says suicide attacks on mass groups of civilians may be labeled as war crimes .
taliban condemns the attack , which isis took credit for .
the bomber targeted government workers picking up their pay , isis said in a statement .